package com.light.gulimall.ware.config;


import com.light.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 远程调用product模块
 *
 */
@FeignClient(name = "gulimall-ware", url = "http://localhost:88")
public interface ProductRemoteServiceClient {

    /**
     * 信息
     */
    @RequestMapping("/api/product/skuinfo/info/{skuId}")
    R info(@PathVariable("skuId") Long skuId);
}
